<template>
  <NavBar/>
  <router-view :key="$route.fullPath"/>
</template>

<script>
import NavBar from './components/NavBar.vue';
export default {
  name: 'App', //当前的
  components: {
    NavBar //子组件
  }
}
</script>

<style>

</style>
